#ifndef GLOBAL_VARIABLES_H
#define GLOBAL_VARIABLES_H


#include <iostream>
using namespace std;

enum Movable_type{SAND, HOLE, DIGDUG, MONSTER, PROJECTILE, OVERLAP};
enum Bitmap_type{	SAND_BITMAP, DIGDUG_BITMAP, 
					DIGDUG_BITMAP_UP, DIGDUG_BITMAP_DOWN, DIGDUG_BITMAP_LEFT, DIGDUG_BITMAP_RIGHT, 
					MONSTER_BITMAP_NORMAL, MONSTER_BITMAP_GHOST, PROJECTILE_BITMAP
				};
enum Direction{UP, DOWN, LEFT, RIGHT, NONE};
enum Action{MOVE_UP, MOVE_DOWN, MOVE_LEFT, MOVE_RIGHT, SHOOT, NO_ACTION};
enum GameResult{WIN, GAME_OVER, IN_PROGRESS};

//Temp here for testing
//--------------------------------------------------
//the speed at which the game's timer operates - initialize to 60 FPS
const int FPS = 20; 

const int SCREEN_WIDTH = 860;
const int SCREEN_HEIGHT = 650;


const int GAME_GRID_ELEMENTS =50;
const int GAME_BOX_SIZE = ((int)((int)SCREEN_HEIGHT*0.85)/GAME_GRID_ELEMENTS)*GAME_GRID_ELEMENTS;

const int GAME_BOX_START_Y = (SCREEN_HEIGHT - GAME_BOX_SIZE)/2;
const int GAME_BOX_START_X = GAME_BOX_START_Y;

const int SCORE_BOX_START_Y = GAME_BOX_START_Y; 
const int SCORE_BOX_START_X = GAME_BOX_START_X + GAME_BOX_SIZE*1.05;
const int SCORE_BOX_SIZE_X = SCREEN_WIDTH -  SCORE_BOX_START_X*1.03;
const int SCORE_BOX_SIZE_Y = SCREEN_HEIGHT;

const float PIXEL_RATIO = GAME_BOX_SIZE/GAME_GRID_ELEMENTS;

const int RADIUS_OF_MOVABLE = 1;

const int TOP_LEVEL = 1;
//--------------------------------------------------

#endif